<template>
<avue-form :option="option" v-model="form"> </avue-form>
</template>

<script>
  export default {
    data(){
      return {
        form:{},
        option: {
          labelWidth: 120,
          column: [
            {
              label: '阿里上传',
              prop: 'imgUrl',
              type: 'upload',
              listType: 'picture-img',
              canvasOption: {
                text: '易顺购',
                ratio: 0.1
              },
              oss: 'ali',
              loadText: '附件上传中，请稍等',
              span: 24,
              tip: '只能上传jpg/png文件，且不超过500kb',
            }
          ]
        }
      }
    }
  }
</script>
